import Vue from 'vue'
import Router from 'vue-router'

import Template from '@/pages/template/template.vue'
import Booking from '@/pages/booking/booking.vue'
import Business from '@/pages/business/business.vue'
import Themes from '@/pages/themes/themes.vue'

Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    redirect: '/themes'
  }, {
    path: '/template',
    name: 'template',
    component: Template
  }, {
    path: '/booking',
    name: 'booking',
    component: Booking
  }, {
    path: '/business',
    name: 'business',
    component: Business
  }, {
    path: '/themes',
    name: 'themes',
    component: Themes
  }]
})
